package meterMonitor.mapper;

import meterMonitor.model.Gateway;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GatewayMapper {

    List<Gateway> query(Gateway gateway);

    void add(Gateway gateway);

    void delete(Gateway gateway);

    void update(Gateway gateway);

    Gateway queryOneByIp(@Param("ip") String ip);
}
